<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <title>代码生成器</title>
    <!-- #parse("sys/header.html") -->
    <th:block th:include="statics/common/page/header"></th:block>
</head>
<body>
<div id="sysGenerator">
    <Row :gutter="16">
        <div class="search-group">
            <i-col span="4">
                <i-input v-model="q.tableName" @on-enter="query" placeholder="表名"/>
            </i-col>
            <i-button @click="query">查询</i-button>
            <i-button @click="reloadSearch">重置</i-button>
        </div>
        <div class="buttons-group">
            <i-button type="primary" @click="generator"><i class="fa fa-file-code-o"></i>&nbsp;生成代码</i-button>
        </div>
    </Row>
    <table id="sysGeneratorGrid"></table>
</div>

<!-- <script src="${rc.contextPath}/js/sys/generator.js?_${date.systemTime}"></script> -->
<script th:src="@{../statics/js/sys/generator.js}"></script>
</body>
</html>